<template>
  <view class="commentList">
    <CommentItem
      :commentDetail="item"
      v-for="(item, index) in commentList"
      :key="index"
    />
  </view>
</template>

<script>
import CommentItem from "../../../components/detail/CommentItem.vue";
export default {
  name: "CommentList",
  props: {
    commentList: {
      type: Array,
    },
  },
  components: {
    CommentItem,
  },
};
</script>

<style lang="scss" scoped></style>
